package com.quanyan.stadiumScheduler.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbUserGameScheduleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbUserGameScheduleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andClubIdIsNull() {
            addCriterion("club_id is null");
            return (Criteria) this;
        }

        public Criteria andClubIdIsNotNull() {
            addCriterion("club_id is not null");
            return (Criteria) this;
        }

        public Criteria andClubIdEqualTo(Integer value) {
            addCriterion("club_id =", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdNotEqualTo(Integer value) {
            addCriterion("club_id <>", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdGreaterThan(Integer value) {
            addCriterion("club_id >", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("club_id >=", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdLessThan(Integer value) {
            addCriterion("club_id <", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdLessThanOrEqualTo(Integer value) {
            addCriterion("club_id <=", value, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdIn(List<Integer> values) {
            addCriterion("club_id in", values, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdNotIn(List<Integer> values) {
            addCriterion("club_id not in", values, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdBetween(Integer value1, Integer value2) {
            addCriterion("club_id between", value1, value2, "clubId");
            return (Criteria) this;
        }

        public Criteria andClubIdNotBetween(Integer value1, Integer value2) {
            addCriterion("club_id not between", value1, value2, "clubId");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andGameEventIdIsNull() {
            addCriterion("game_event_id is null");
            return (Criteria) this;
        }

        public Criteria andGameEventIdIsNotNull() {
            addCriterion("game_event_id is not null");
            return (Criteria) this;
        }

        public Criteria andGameEventIdEqualTo(Integer value) {
            addCriterion("game_event_id =", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdNotEqualTo(Integer value) {
            addCriterion("game_event_id <>", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdGreaterThan(Integer value) {
            addCriterion("game_event_id >", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("game_event_id >=", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdLessThan(Integer value) {
            addCriterion("game_event_id <", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdLessThanOrEqualTo(Integer value) {
            addCriterion("game_event_id <=", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdIn(List<Integer> values) {
            addCriterion("game_event_id in", values, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdNotIn(List<Integer> values) {
            addCriterion("game_event_id not in", values, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdBetween(Integer value1, Integer value2) {
            addCriterion("game_event_id between", value1, value2, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdNotBetween(Integer value1, Integer value2) {
            addCriterion("game_event_id not between", value1, value2, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdIsNull() {
            addCriterion("game_category_id is null");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdIsNotNull() {
            addCriterion("game_category_id is not null");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdEqualTo(Integer value) {
            addCriterion("game_category_id =", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdNotEqualTo(Integer value) {
            addCriterion("game_category_id <>", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdGreaterThan(Integer value) {
            addCriterion("game_category_id >", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("game_category_id >=", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdLessThan(Integer value) {
            addCriterion("game_category_id <", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("game_category_id <=", value, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdIn(List<Integer> values) {
            addCriterion("game_category_id in", values, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdNotIn(List<Integer> values) {
            addCriterion("game_category_id not in", values, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("game_category_id between", value1, value2, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("game_category_id not between", value1, value2, "gameCategoryId");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeIsNull() {
            addCriterion("game_event_type is null");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeIsNotNull() {
            addCriterion("game_event_type is not null");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeEqualTo(Byte value) {
            addCriterion("game_event_type =", value, "gameEventType");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeNotEqualTo(Byte value) {
            addCriterion("game_event_type <>", value, "gameEventType");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeGreaterThan(Byte value) {
            addCriterion("game_event_type >", value, "gameEventType");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("game_event_type >=", value, "gameEventType");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeLessThan(Byte value) {
            addCriterion("game_event_type <", value, "gameEventType");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeLessThanOrEqualTo(Byte value) {
            addCriterion("game_event_type <=", value, "gameEventType");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeIn(List<Byte> values) {
            addCriterion("game_event_type in", values, "gameEventType");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeNotIn(List<Byte> values) {
            addCriterion("game_event_type not in", values, "gameEventType");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeBetween(Byte value1, Byte value2) {
            addCriterion("game_event_type between", value1, value2, "gameEventType");
            return (Criteria) this;
        }

        public Criteria andGameEventTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("game_event_type not between", value1, value2, "gameEventType");
            return (Criteria) this;
        }

        public Criteria andGameNameIsNull() {
            addCriterion("game_name is null");
            return (Criteria) this;
        }

        public Criteria andGameNameIsNotNull() {
            addCriterion("game_name is not null");
            return (Criteria) this;
        }

        public Criteria andGameNameEqualTo(String value) {
            addCriterion("game_name =", value, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameNameNotEqualTo(String value) {
            addCriterion("game_name <>", value, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameNameGreaterThan(String value) {
            addCriterion("game_name >", value, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameNameGreaterThanOrEqualTo(String value) {
            addCriterion("game_name >=", value, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameNameLessThan(String value) {
            addCriterion("game_name <", value, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameNameLessThanOrEqualTo(String value) {
            addCriterion("game_name <=", value, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameNameLike(String value) {
            addCriterion("game_name like", value, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameNameNotLike(String value) {
            addCriterion("game_name not like", value, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameNameIn(List<String> values) {
            addCriterion("game_name in", values, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameNameNotIn(List<String> values) {
            addCriterion("game_name not in", values, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameNameBetween(String value1, String value2) {
            addCriterion("game_name between", value1, value2, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameNameNotBetween(String value1, String value2) {
            addCriterion("game_name not between", value1, value2, "gameName");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdIsNull() {
            addCriterion("game_schedule_id is null");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdIsNotNull() {
            addCriterion("game_schedule_id is not null");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdEqualTo(Integer value) {
            addCriterion("game_schedule_id =", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdNotEqualTo(Integer value) {
            addCriterion("game_schedule_id <>", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdGreaterThan(Integer value) {
            addCriterion("game_schedule_id >", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("game_schedule_id >=", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdLessThan(Integer value) {
            addCriterion("game_schedule_id <", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdLessThanOrEqualTo(Integer value) {
            addCriterion("game_schedule_id <=", value, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdIn(List<Integer> values) {
            addCriterion("game_schedule_id in", values, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdNotIn(List<Integer> values) {
            addCriterion("game_schedule_id not in", values, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdBetween(Integer value1, Integer value2) {
            addCriterion("game_schedule_id between", value1, value2, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andGameScheduleIdNotBetween(Integer value1, Integer value2) {
            addCriterion("game_schedule_id not between", value1, value2, "gameScheduleId");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusIsNull() {
            addCriterion("schedule_status is null");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusIsNotNull() {
            addCriterion("schedule_status is not null");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusEqualTo(Byte value) {
            addCriterion("schedule_status =", value, "scheduleStatus");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusNotEqualTo(Byte value) {
            addCriterion("schedule_status <>", value, "scheduleStatus");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusGreaterThan(Byte value) {
            addCriterion("schedule_status >", value, "scheduleStatus");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("schedule_status >=", value, "scheduleStatus");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusLessThan(Byte value) {
            addCriterion("schedule_status <", value, "scheduleStatus");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusLessThanOrEqualTo(Byte value) {
            addCriterion("schedule_status <=", value, "scheduleStatus");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusIn(List<Byte> values) {
            addCriterion("schedule_status in", values, "scheduleStatus");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusNotIn(List<Byte> values) {
            addCriterion("schedule_status not in", values, "scheduleStatus");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusBetween(Byte value1, Byte value2) {
            addCriterion("schedule_status between", value1, value2, "scheduleStatus");
            return (Criteria) this;
        }

        public Criteria andScheduleStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("schedule_status not between", value1, value2, "scheduleStatus");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListIsNull() {
            addCriterion("home_player_list is null");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListIsNotNull() {
            addCriterion("home_player_list is not null");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListEqualTo(String value) {
            addCriterion("home_player_list =", value, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListNotEqualTo(String value) {
            addCriterion("home_player_list <>", value, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListGreaterThan(String value) {
            addCriterion("home_player_list >", value, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListGreaterThanOrEqualTo(String value) {
            addCriterion("home_player_list >=", value, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListLessThan(String value) {
            addCriterion("home_player_list <", value, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListLessThanOrEqualTo(String value) {
            addCriterion("home_player_list <=", value, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListLike(String value) {
            addCriterion("home_player_list like", value, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListNotLike(String value) {
            addCriterion("home_player_list not like", value, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListIn(List<String> values) {
            addCriterion("home_player_list in", values, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListNotIn(List<String> values) {
            addCriterion("home_player_list not in", values, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListBetween(String value1, String value2) {
            addCriterion("home_player_list between", value1, value2, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andHomePlayerListNotBetween(String value1, String value2) {
            addCriterion("home_player_list not between", value1, value2, "homePlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListIsNull() {
            addCriterion("away_player_list is null");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListIsNotNull() {
            addCriterion("away_player_list is not null");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListEqualTo(String value) {
            addCriterion("away_player_list =", value, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListNotEqualTo(String value) {
            addCriterion("away_player_list <>", value, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListGreaterThan(String value) {
            addCriterion("away_player_list >", value, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListGreaterThanOrEqualTo(String value) {
            addCriterion("away_player_list >=", value, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListLessThan(String value) {
            addCriterion("away_player_list <", value, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListLessThanOrEqualTo(String value) {
            addCriterion("away_player_list <=", value, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListLike(String value) {
            addCriterion("away_player_list like", value, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListNotLike(String value) {
            addCriterion("away_player_list not like", value, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListIn(List<String> values) {
            addCriterion("away_player_list in", values, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListNotIn(List<String> values) {
            addCriterion("away_player_list not in", values, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListBetween(String value1, String value2) {
            addCriterion("away_player_list between", value1, value2, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andAwayPlayerListNotBetween(String value1, String value2) {
            addCriterion("away_player_list not between", value1, value2, "awayPlayerList");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNull() {
            addCriterion("place_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNotNull() {
            addCriterion("place_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdEqualTo(Integer value) {
            addCriterion("place_id =", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotEqualTo(Integer value) {
            addCriterion("place_id <>", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThan(Integer value) {
            addCriterion("place_id >", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_id >=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThan(Integer value) {
            addCriterion("place_id <", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_id <=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIn(List<Integer> values) {
            addCriterion("place_id in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotIn(List<Integer> values) {
            addCriterion("place_id not in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdBetween(Integer value1, Integer value2) {
            addCriterion("place_id between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_id not between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdIsNull() {
            addCriterion("place_unit_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdIsNotNull() {
            addCriterion("place_unit_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdEqualTo(Integer value) {
            addCriterion("place_unit_id =", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdNotEqualTo(Integer value) {
            addCriterion("place_unit_id <>", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdGreaterThan(Integer value) {
            addCriterion("place_unit_id >", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_unit_id >=", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdLessThan(Integer value) {
            addCriterion("place_unit_id <", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_unit_id <=", value, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdIn(List<Integer> values) {
            addCriterion("place_unit_id in", values, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdNotIn(List<Integer> values) {
            addCriterion("place_unit_id not in", values, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdBetween(Integer value1, Integer value2) {
            addCriterion("place_unit_id between", value1, value2, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andPlaceUnitIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_unit_id not between", value1, value2, "placeUnitId");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreIsNull() {
            addCriterion("schedule_score is null");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreIsNotNull() {
            addCriterion("schedule_score is not null");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreEqualTo(String value) {
            addCriterion("schedule_score =", value, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreNotEqualTo(String value) {
            addCriterion("schedule_score <>", value, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreGreaterThan(String value) {
            addCriterion("schedule_score >", value, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreGreaterThanOrEqualTo(String value) {
            addCriterion("schedule_score >=", value, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreLessThan(String value) {
            addCriterion("schedule_score <", value, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreLessThanOrEqualTo(String value) {
            addCriterion("schedule_score <=", value, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreLike(String value) {
            addCriterion("schedule_score like", value, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreNotLike(String value) {
            addCriterion("schedule_score not like", value, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreIn(List<String> values) {
            addCriterion("schedule_score in", values, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreNotIn(List<String> values) {
            addCriterion("schedule_score not in", values, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreBetween(String value1, String value2) {
            addCriterion("schedule_score between", value1, value2, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andScheduleScoreNotBetween(String value1, String value2) {
            addCriterion("schedule_score not between", value1, value2, "scheduleScore");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andIsAccessIsNull() {
            addCriterion("is_Access is null");
            return (Criteria) this;
        }

        public Criteria andIsAccessIsNotNull() {
            addCriterion("is_Access is not null");
            return (Criteria) this;
        }

        public Criteria andIsAccessEqualTo(Byte value) {
            addCriterion("is_Access =", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessNotEqualTo(Byte value) {
            addCriterion("is_Access <>", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessGreaterThan(Byte value) {
            addCriterion("is_Access >", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_Access >=", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessLessThan(Byte value) {
            addCriterion("is_Access <", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessLessThanOrEqualTo(Byte value) {
            addCriterion("is_Access <=", value, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessIn(List<Byte> values) {
            addCriterion("is_Access in", values, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessNotIn(List<Byte> values) {
            addCriterion("is_Access not in", values, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessBetween(Byte value1, Byte value2) {
            addCriterion("is_Access between", value1, value2, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsAccessNotBetween(Byte value1, Byte value2) {
            addCriterion("is_Access not between", value1, value2, "isAccess");
            return (Criteria) this;
        }

        public Criteria andIsWinIsNull() {
            addCriterion("is_win is null");
            return (Criteria) this;
        }

        public Criteria andIsWinIsNotNull() {
            addCriterion("is_win is not null");
            return (Criteria) this;
        }

        public Criteria andIsWinEqualTo(Byte value) {
            addCriterion("is_win =", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinNotEqualTo(Byte value) {
            addCriterion("is_win <>", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinGreaterThan(Byte value) {
            addCriterion("is_win >", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_win >=", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinLessThan(Byte value) {
            addCriterion("is_win <", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinLessThanOrEqualTo(Byte value) {
            addCriterion("is_win <=", value, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinIn(List<Byte> values) {
            addCriterion("is_win in", values, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinNotIn(List<Byte> values) {
            addCriterion("is_win not in", values, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinBetween(Byte value1, Byte value2) {
            addCriterion("is_win between", value1, value2, "isWin");
            return (Criteria) this;
        }

        public Criteria andIsWinNotBetween(Byte value1, Byte value2) {
            addCriterion("is_win not between", value1, value2, "isWin");
            return (Criteria) this;
        }

        public Criteria andRecordAuthIsNull() {
            addCriterion("record_auth is null");
            return (Criteria) this;
        }

        public Criteria andRecordAuthIsNotNull() {
            addCriterion("record_auth is not null");
            return (Criteria) this;
        }

        public Criteria andRecordAuthEqualTo(Byte value) {
            addCriterion("record_auth =", value, "recordAuth");
            return (Criteria) this;
        }

        public Criteria andRecordAuthNotEqualTo(Byte value) {
            addCriterion("record_auth <>", value, "recordAuth");
            return (Criteria) this;
        }

        public Criteria andRecordAuthGreaterThan(Byte value) {
            addCriterion("record_auth >", value, "recordAuth");
            return (Criteria) this;
        }

        public Criteria andRecordAuthGreaterThanOrEqualTo(Byte value) {
            addCriterion("record_auth >=", value, "recordAuth");
            return (Criteria) this;
        }

        public Criteria andRecordAuthLessThan(Byte value) {
            addCriterion("record_auth <", value, "recordAuth");
            return (Criteria) this;
        }

        public Criteria andRecordAuthLessThanOrEqualTo(Byte value) {
            addCriterion("record_auth <=", value, "recordAuth");
            return (Criteria) this;
        }

        public Criteria andRecordAuthIn(List<Byte> values) {
            addCriterion("record_auth in", values, "recordAuth");
            return (Criteria) this;
        }

        public Criteria andRecordAuthNotIn(List<Byte> values) {
            addCriterion("record_auth not in", values, "recordAuth");
            return (Criteria) this;
        }

        public Criteria andRecordAuthBetween(Byte value1, Byte value2) {
            addCriterion("record_auth between", value1, value2, "recordAuth");
            return (Criteria) this;
        }

        public Criteria andRecordAuthNotBetween(Byte value1, Byte value2) {
            addCriterion("record_auth not between", value1, value2, "recordAuth");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}